﻿// -----------------------------------------------------------------------
// <copyright file="IEpamGaleryCacheManager.cs" company="EPAM Systems">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace Epam.PhotoGallery.Interfaces.Managers
{
	using System;
	using System.Collections.Generic;
	using System.Linq;
	using System.Text;

	/// <summary>
	/// TODO: Update summary.
	/// </summary>
	public interface IEpamGaleryCacheManager
	{
		T GetItem<T>(string key) where T : class;
		void Add(string key, object value, int slideMinute);
		bool TryAdd(string key, object value, int slideMinute);
		void Remove(string key);
	}
}
